|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IVariableRegistry
A service that manages a collection of named data variables.
| Method Summary | |
|---|---|
void |
clearVariable(java.lang.String name)
Removes the registration of the variable under the specified name |
IDataObject |
createVariable(IDataType type)
Creates a new variable of the specified type. |
IDataObject |
createVariable(java.lang.String typeName)
Creates a new variable of the specified type. |
IDataObject |
getVariable(java.lang.String name)
Returns the variable registered under the specified name or null if no such variable is registered. |
java.lang.String[] |
getVariableNames()
Returns the names of all the variables currently registered. |
void |
setVariable(java.lang.String name,
IDataObject variable)
Registers a variable under the specified name, removing any variable previously registered under that name. |
| Method Detail |
|---|
IDataObject createVariable(java.lang.String typeName)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
typeName - The name of the type of variable to create.
java.lang.IllegalArgumentException - If no type with the specified name exists.
java.lang.NullPointerException - If the supplied type name is null.
IDataObject createVariable(IDataType type)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
type - The type of variable to create.
java.lang.NullPointerException - If the supplied type is null.
java.lang.IllegalArgumentExceptionjava.lang.String[] getVariableNames()
IDataObject getVariable(java.lang.String name)
throws java.lang.NullPointerException
null if no such variable is registered.
name - The name of the variable to return.
null if no such variable is registered.
java.lang.NullPointerException - If the supplied variable name is
null.
void setVariable(java.lang.String name,
IDataObject variable)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
name - The name to register the variable under.
java.lang.IllegalArgumentException - If the supplied variable was not created
by this registry.
java.lang.NullPointerException - If the supplied variable name is
null.
java.lang.NullPointerException - If the supplied variable is null.
void clearVariable(java.lang.String name)
throws java.lang.NullPointerException
name - The name of the variable to clear.
java.lang.NullPointerException - If the supplied variable name is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||